package com.wenjiang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class MallRole {
    //角色id
    @TableId
    private Integer roleId;
    //角色名称
    private String roleName;
    //角色标识符
    private String roleKey;
    //角色简介
    private String introduction;
    // 角色所用有的权限
    @TableField(exist = false)
    private List<MallPermission> mallPermissions;

}
